package com.aracky.system.model.entity;

import com.aracky.common.entitybase.BaseCommonEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 按钮配置表
 * </p>
 *
 * @author zzp
 * @since 2022-08-24 11:23:26
 */
@Getter
@Setter
@TableName("sys_btn_config")
@ApiModel(value = "SysBtnConfig对象", description = "按钮配置表")
public class SysBtnConfig extends BaseCommonEntity {

    @ApiModelProperty("按钮id")
    @TableId(value = "btn_id", type = IdType.AUTO)
    private Long btnId;

    @ApiModelProperty("按钮类型")
    @TableField("btn_type")
    private String btnType;

    @ApiModelProperty("开启条件")
    @TableField("open_conditions")
    private String openConditions;

    @ApiModelProperty("请求api")
    @TableField("api")
    private String api;

    @ApiModelProperty("按钮图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("跳转路径")
    @TableField("path")
    private String path;

    @ApiModelProperty("导出title")
    @TableField("title")
    private String title;

    @ApiModelProperty("父id")
    @TableField(value = "parent_id")
    private Long  parentId;

}
